@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>配送单据审核</h5>
            </div>
            <div class="ibox-content layui-form-pane">
                <div class="row">
                    <div class="layui-form-item">
                        <label class="layui-form-label">名称</label>
                        <div class="layui-input-inline">
                            <input type="text" name="name" id="name" placeholder="单号/收货人/联系方式/收获地址" class="layui-input">
                        </div>

                        <div class="layui-input-inline" style="width: 180px">
                            <select id="status"   class="selectpicker" data-width="180px" >
                                <option value="1">待出库</option>
                                <option value="2">已出库</option>
                                <option value="3">完成</option>
                            </select>
                        </div>
                        <div class="col-sm-3">
                            <#button name="搜索" icon="fa-search" clickFun="table1.search()"/>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-2"><#button name="打印库存表" icon="fa-plus" clickFun="table1.printLibrary()" space="true"/></div>
                        <div class="col-sm-1"><#button name="打印" icon="fa-plus" clickFun="table1.print()" space="true"/></div>
                        <div class="col-sm-1">
                            @if(shiro.hasPermission("/tOrder/theLibrary")){
                            <#button name="出库" icon="fa-plus" clickFun="table1.theLibrary()" space="true"/>
                            @}
                        </div>
                        <div class="col-sm-2"></div>
                    </div>

                    <div class="row">
                        <div class="col-sm-6">
                            <#table id="table1"/>
                        </div>
                        <div class="col-sm-6">
                            <#table id="table2"/>
                        </div>
                    </div>
                    <div class="row" id="hj_div" style="display: none">
                        <div class="col-sm-6">

                        </div>
                        <div class="col-sm-6"  style="text-align: right" >
                            <span style="color:red;"> 合计:</span><span id="hj" style="color:red;">0</span>
                        </div>
                    </div>
                </div>

            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/system/tOrder/dis/distributionOut_list.js"></script>
@}
